use bot::MyBot;
use dotenv::dotenv;
use std::env;

extern crate pretty_env_logger;
#[macro_use] extern crate log;

mod bot;

#[tokio::main]
async fn main() {
    dotenv().ok();
    pretty_env_logger::init();
    trace!("Starting reply bot...");

    let bot = MyBot::new(env::var("TOKEN").unwrap()).await;
    bot.run().await;
}
